<!doctype html>



  


<html class="theme-next muse use-motion">
<head>
  <meta charset="UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>



<meta http-equiv="Cache-Control" content="no-transform" />
<meta http-equiv="Cache-Control" content="no-siteapp" />












  
  
  <link href="/lib/fancybox/source/jquery.fancybox.css?v=2.1.5" rel="stylesheet" type="text/css" />




  
  
  
  

  
    
    
  

  

  

  
    
      
    

    
  

  

  
    
    
    <link href="//fonts.googleapis.com/css?family=Microsoft YaHei:300,300italic,400,400italic,700,700italic|consolas:300,300italic,400,400italic,700,700italic&subset=latin,latin-ext" rel="stylesheet" type="text/css">
  






<link href="/lib/font-awesome/css/font-awesome.min.css?v=4.4.0" rel="stylesheet" type="text/css" />

<link href="/css/main.css?v=5.0.2" rel="stylesheet" type="text/css" />


  <meta name="keywords" content="HongqinMa, Hiraku, web前端, web全栈, javascript, html, css, nodejs" />








  <link rel="shortcut icon" type="image/x-icon" href="http://ofy7k3v4s.bkt.clouddn.com/mylogo.png?v=5.0.2" />






<meta name="description" content="Spell at all costs， to rush you in the future.">
<meta property="og:type" content="website">
<meta property="og:title" content="HongqinMa' Blog">
<meta property="og:url" content="https://hongqinma.github.io/page/7/index.html">
<meta property="og:site_name" content="HongqinMa' Blog">
<meta property="og:description" content="Spell at all costs， to rush you in the future.">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="HongqinMa' Blog">
<meta name="twitter:description" content="Spell at all costs， to rush you in the future.">



<script type="text/javascript" id="hexo.configuration">
  var NexT = window.NexT || {};
  var CONFIG = {
    scheme: 'Muse',
    sidebar: {"position":"left","display":"post"},
    fancybox: true,
    motion: true,
    duoshuo: {
      userId: '6347850919329138000',
      author: 'Hiraku'
    }
  };
</script>




  <link rel="canonical" href="https://hongqinma.github.io/page/7/"/>


  <title> HongqinMa' Blog </title>
</head>

<body itemscope itemtype="//schema.org/WebPage" lang="en">

  



  <script type="text/javascript">
    var _hmt = _hmt || [];
    (function() {
      var hm = document.createElement("script");
      hm.src = "//hm.baidu.com/hm.js?10010323";
      var s = document.getElementsByTagName("script")[0];
      s.parentNode.insertBefore(hm, s);
    })();
  </script>








  
  
    
  

  <div class="container one-collumn sidebar-position-left 
   page-home 
 ">
    <div class="headband"></div>

    <header id="header" class="header" itemscope itemtype="//schema.org/WPHeader">
      <div class="header-inner"><div class="site-meta custom-logo">
  
    <div class="site-meta-headline">
      <a>
        <img class="custom-logo-image" src="http://ofy7k3v4s.bkt.clouddn.com/photo.jpg"
             alt="HongqinMa' Blog"/>
      </a>
    </div>
  

  <div class="custom-logo-site-title">
    <a href="/"  class="brand" rel="start">
      <span class="logo-line-before"><i></i></span>
      <span class="site-title">HongqinMa' Blog</span>
      <span class="logo-line-after"><i></i></span>
    </a>
  </div>
  <p class="site-subtitle">Spell at all costs， to rush you in the future。</p>
</div>

<div class="site-nav-toggle">
  <button>
    <span class="btn-bar"></span>
    <span class="btn-bar"></span>
    <span class="btn-bar"></span>
  </button>
</div>

<nav class="site-nav">
  

  
    <ul id="menu" class="menu">
      
        
        <li class="menu-item menu-item-home">
          <a href="/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-home"></i> <br />
            
            Home
          </a>
        </li>
      
        
        <li class="menu-item menu-item-categories">
          <a href="/categories" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-th"></i> <br />
            
            Categories
          </a>
        </li>
      
        
        <li class="menu-item menu-item-about">
          <a href="/about" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-user"></i> <br />
            
            About
          </a>
        </li>
      
        
        <li class="menu-item menu-item-archives">
          <a href="/archives" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-archive"></i> <br />
            
            Archives
          </a>
        </li>
      
        
        <li class="menu-item menu-item-tags">
          <a href="/tags" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-tags"></i> <br />
            
            Tags
          </a>
        </li>
      

      
    </ul>
  

  
</nav>

 </div>
    </header>

    <main id="main" class="main">
      <div class="main-inner">
        <div class="content-wrap">
          <div id="content" class="content">
            
  <section id="posts" class="posts-expand">
    
      

  
  

  
  
  

  <article class="post post-type-normal " itemscope itemtype="//schema.org/Article">

    
      <header class="post-header">

        
        
          <h1 class="post-title" itemprop="name headline">
            
            
              
                
                <a class="post-title-link" href="/2014/03/28/04-js-表达式和运算符/" itemprop="url">
                  js 表达式和运算符
                </a>
              
            
          </h1>
        

        <div class="post-meta">
          <span class="post-time">
            <span class="post-meta-item-icon">
              <i class="fa fa-calendar-o"></i>
            </span>
            <span class="post-meta-item-text">Posted on</span>
            <time itemprop="dateCreated" datetime="2014-03-28T22:10:05+08:00" content="2014-03-28">
              2014-03-28
            </time>
          </span>

          
            <span class="post-category" >
              &nbsp; | &nbsp;
              <span class="post-meta-item-icon">
                <i class="fa fa-folder-o"></i>
              </span>
              <span class="post-meta-item-text">In</span>
              
                <span itemprop="about" itemscope itemtype="https://schema.org/Thing">
                  <a href="/categories/JavaScript/" itemprop="url" rel="index">
                    <span itemprop="name">JavaScript</span>
                  </a>
                </span>

                
                

              
            </span>
          

          
            
              <span class="post-comments-count">
                &nbsp; | &nbsp;
                <a href="/2014/03/28/04-js-表达式和运算符/#comments" itemprop="discussionUrl">
                  <span class="post-comments-count ds-thread-count" data-thread-key="2014/03/28/04-js-表达式和运算符/" itemprop="commentsCount"></span>
                </a>
              </span>
            
          

          

          

          

          
        </div>
      </header>
    


    <div class="post-body" itemprop="articleBody">

      
      

      
        
          
          JavaScript &#x89E3;&#x91CA;&#x5668;&#x4F1A;&#x5C06;&#x8868;&#x8FBE;&#x5F0F;&#x8BA1;&#x7B97;&#x51FA;&#x4E00;&#x4E2A;&#x7ED3;&#x679C;&#xFF0C;&#x7A0B;&#x5E8F;&#x4E2D;&#x6700;&#x5E38;&#x89C1;&#x7684;&#x53D8;&#x91CF;&#x5C31;&#x662F;&#x4E00;&#x79CD;&#x8868;&#x8FBE;&#x5F0F;&#x3002;&#x53D8;&#x91CF;&#x540D;&#x4E5F;&#x662F;&#x4E00;&#x79CD;&#x8868;&#x8FBE;&#x5F0F;&#x3002;&#x590D;&#x6742;&#x8868;&#x8FBE;&#x5F0F;&#x662F;&#x7531;&#x7B80;&#x5355;&#x8868;&#x8FBE;&#x5F0F;&#x7EC4;&#x6210;&#x7684;&#xFF0C;&#x6700;&#x5E38;&#x7528;&#x7684;&#x65B9;&#x6CD5;&#x662F;&#x4F7F;&#x7528;&#x8FD0;&#x7B97;&#x7B26;&#x3002;
&#x8868;&#x8FBE;&#x5F0F;&#x539F;&#x59CB;&#x8868;&#x8FBE;&#x5F0F;&#x539F;&#x59CB;&#x8868;&#x8FBE;&#x5F0F;&#x662F;&#x8868;&#x8FBE;&#x5F0F;&#x7684;&#x6700;&#x5C0F;&#x5355;&#x4F4D;&#xFF0C;&#x901A;&#x5E38;&#x5305;&#x542B;&#xFF1A;

&#x5E38;&#x91CF;
&#x76F4;&#x63A5;&#x91CF;
&#x5173;&#x952E;&#x5B57;
&#x53D8;&#x91CF;

&#x5BF9;&#x8C61;&#x548C;&#x6570;&#x7EC4;&#x7684;&#x521D;&#x59CB;&#x5316;&#x8868;&#x8FBE;&#x5F
          ...

          <div class="post-more-link text-center">
            <a class="btn" href="/2014/03/28/04-js-表达式和运算符/#more" rel="contents">
              Read more &raquo;
            </a>
          </div>
        
      
    </div>

    <div>
      
    </div>

    <div>
      
    </div>

    <footer class="post-footer">
      

      

      
      
        <div class="post-eof"></div>
      
    </footer>
  </article>


    
      

  
  

  
  
  

  <article class="post post-type-normal " itemscope itemtype="//schema.org/Article">

    
      <header class="post-header">

        
        
          <h1 class="post-title" itemprop="name headline">
            
            
              
                
                <a class="post-title-link" href="/2014/03/18/03-js-变量和数据类型/" itemprop="url">
                  js 变量和数据类型
                </a>
              
            
          </h1>
        

        <div class="post-meta">
          <span class="post-time">
            <span class="post-meta-item-icon">
              <i class="fa fa-calendar-o"></i>
            </span>
            <span class="post-meta-item-text">Posted on</span>
            <time itemprop="dateCreated" datetime="2014-03-18T21:22:52+08:00" content="2014-03-18">
              2014-03-18
            </time>
          </span>

          
            <span class="post-category" >
              &nbsp; | &nbsp;
              <span class="post-meta-item-icon">
                <i class="fa fa-folder-o"></i>
              </span>
              <span class="post-meta-item-text">In</span>
              
                <span itemprop="about" itemscope itemtype="https://schema.org/Thing">
                  <a href="/categories/JavaScript/" itemprop="url" rel="index">
                    <span itemprop="name">JavaScript</span>
                  </a>
                </span>

                
                

              
            </span>
          

          
            
              <span class="post-comments-count">
                &nbsp; | &nbsp;
                <a href="/2014/03/18/03-js-变量和数据类型/#comments" itemprop="discussionUrl">
                  <span class="post-comments-count ds-thread-count" data-thread-key="2014/03/18/03-js-变量和数据类型/" itemprop="commentsCount"></span>
                </a>
              </span>
            
          

          

          

          

          
        </div>
      </header>
    


    <div class="post-body" itemprop="articleBody">

      
      

      
        
          
          &#x53D8;&#x91CF;JavaScript&#x662F;&#x5F31;&#x7C7B;&#x578B;&#x7684;&#x8BED;&#x8A00;&#xFF0C;&#x53D8;&#x91CF;&#x662F;&#x677E;&#x6563;&#x7684;&#x3002;&#x6240;&#x8C13;&#x677E;&#x6563;&#x662F;&#x53EF;&#x4EE5;&#x4FDD;&#x5B58;&#x4EFB;&#x4F55;&#x7C7B;&#x578B;&#x7684;&#x53D8;&#x91CF;&#x3002;&#x5373;&#x58F0;&#x660E;&#x4E0D;&#x540C;&#x6570;&#x636E;&#x7C7B;&#x578B;&#x7684;&#x53D8;&#x91CF;&#x4F7F;&#x7528;&#x540C;&#x4E00;&#x4E2A;&#x5173;&#x952E;&#x5B57; var&#xFF0C;&#x53D8;&#x91CF;&#x5C31;&#x662F;&#x53D8;&#x5316;&#x7684;&#x91CF;&#xFF0C;&#x53D8;&#x91CF;&#x7684;&#x4F5C;&#x7528;&#x5C31;&#x662F;&#x7528;&#x6765;&#x88C5;&#x6570;&#x636E;&#x7684;&#x5BB9;&#x5668;&#x3002;&#x58F0;&#x660E;&#x53D8;&#x91CF;&#x7684;&#x65F6;&#x5019;&#x4E0D;&#x7528;&#x8003;&#x8651;&#x7C7B;&#x578B;&#xFF0C;&#x4F46;&#x662F;&#x5904;&#x7406;&#x548C;&#x8BA1;&#x7B97;&#x7684;&#x65F6;&#x5019;&#x8981;&#x8003;&#x8651;&#x7C7B;&#x578B;.
&#x5B9A;&#x4E49;&#x53D8;&#x91CF;&#x5B9A;&#x4E49;&#x53D8;&#x91CF;&#x4F7F;&#x7528;&#x5173;&#x952E;&#x5B57; var &#x
          ...

          <div class="post-more-link text-center">
            <a class="btn" href="/2014/03/18/03-js-变量和数据类型/#more" rel="contents">
              Read more &raquo;
            </a>
          </div>
        
      
    </div>

    <div>
      
    </div>

    <div>
      
    </div>

    <footer class="post-footer">
      

      

      
      
        <div class="post-eof"></div>
      
    </footer>
  </article>


    
      

  
  

  
  
  

  <article class="post post-type-normal " itemscope itemtype="//schema.org/Article">

    
      <header class="post-header">

        
        
          <h1 class="post-title" itemprop="name headline">
            
            
              
                
                <a class="post-title-link" href="/2014/03/12/02-js-词法结构/" itemprop="url">
                  js 词法结构
                </a>
              
            
          </h1>
        

        <div class="post-meta">
          <span class="post-time">
            <span class="post-meta-item-icon">
              <i class="fa fa-calendar-o"></i>
            </span>
            <span class="post-meta-item-text">Posted on</span>
            <time itemprop="dateCreated" datetime="2014-03-12T21:06:45+08:00" content="2014-03-12">
              2014-03-12
            </time>
          </span>

          
            <span class="post-category" >
              &nbsp; | &nbsp;
              <span class="post-meta-item-icon">
                <i class="fa fa-folder-o"></i>
              </span>
              <span class="post-meta-item-text">In</span>
              
                <span itemprop="about" itemscope itemtype="https://schema.org/Thing">
                  <a href="/categories/JavaScript/" itemprop="url" rel="index">
                    <span itemprop="name">JavaScript</span>
                  </a>
                </span>

                
                

              
            </span>
          

          
            
              <span class="post-comments-count">
                &nbsp; | &nbsp;
                <a href="/2014/03/12/02-js-词法结构/#comments" itemprop="discussionUrl">
                  <span class="post-comments-count ds-thread-count" data-thread-key="2014/03/12/02-js-词法结构/" itemprop="commentsCount"></span>
                </a>
              </span>
            
          

          

          

          

          
        </div>
      </header>
    


    <div class="post-body" itemprop="articleBody">

      
      

      
        
          
          js &#x7684;&#x8BCD;&#x6CD5;&#x7ED3;&#x6784;&#x662F;&#x4E00;&#x5957;&#x57FA;&#x672C;&#x89C4;&#x5219;&#xFF0C;&#x7528;&#x6765;&#x63CF;&#x8FF0;&#x5982;&#x4F55;&#x4F7F;&#x7528; js &#x7F16;&#x7A0B;&#x3002;&#x5B83;&#x89C4;&#x5B9A;&#x4E86;&#x5982;&#x4F55;&#x53D8;&#x91CF;&#x540D;&#x957F;&#x4EC0;&#x4E48;&#x6837;&#xFF0C;&#x5982;&#x4F55;&#x5199;&#x6CE8;&#x91CA;&#x4EE5;&#x53CA;&#x7A0B;&#x5E8F;&#x8BED;&#x53E5;&#x4E4B;&#x95F4;&#x5982;&#x4F55;&#x5206;&#x9694;&#x3002;
&#x5B57;&#x7B26;&#x96C6; &#xFF08;JavaScript &#x6743;&#x5A01;&#x6307;&#x5357;&#xFF09;&#x533A;&#x5206;&#x5927;&#x5C0F;&#x5199;&#x6807;&#x8BC6;&#x7B26;&#x5173;&#x952E;&#x5B57;&#x3001;&#x53D8;&#x91CF;&#x540D;&#x3001;&#x51FD;&#x6570;&#x540D;&#x3001;&#x51FD;&#x6570;&#x53C2;&#x6570;&#x548C;&#x6240;&#x6709;&#x6807;&#x8BC6;&#x7B26;&#x90FD;&#x662F;&#x91C7;&#x7528;&#x4E00;&#x81F4;&#x7684;&#x5927;&#x5C0F;&#x5199;&#x3002;

&#x7B2C;&#x4E00;&#x4E2A;&#x5B57;&#x7B26;&#x5FC5;&#x987B;&#x662F;&#x4E00;&#x4E2A;&#x5B57;&#x6BCD;&#x3001;&#x4E0B;&#x5212;&#x7EBF;(_
          ...

          <div class="post-more-link text-center">
            <a class="btn" href="/2014/03/12/02-js-词法结构/#more" rel="contents">
              Read more &raquo;
            </a>
          </div>
        
      
    </div>

    <div>
      
    </div>

    <div>
      
    </div>

    <footer class="post-footer">
      

      

      
      
        <div class="post-eof"></div>
      
    </footer>
  </article>


    
      

  
  

  
  
  

  <article class="post post-type-normal " itemscope itemtype="//schema.org/Article">

    
      <header class="post-header">

        
        
          <h1 class="post-title" itemprop="name headline">
            
            
              
                
                <a class="post-title-link" href="/2014/03/07/01-js-初识/" itemprop="url">
                  js 初识
                </a>
              
            
          </h1>
        

        <div class="post-meta">
          <span class="post-time">
            <span class="post-meta-item-icon">
              <i class="fa fa-calendar-o"></i>
            </span>
            <span class="post-meta-item-text">Posted on</span>
            <time itemprop="dateCreated" datetime="2014-03-07T21:01:16+08:00" content="2014-03-07">
              2014-03-07
            </time>
          </span>

          
            <span class="post-category" >
              &nbsp; | &nbsp;
              <span class="post-meta-item-icon">
                <i class="fa fa-folder-o"></i>
              </span>
              <span class="post-meta-item-text">In</span>
              
                <span itemprop="about" itemscope itemtype="https://schema.org/Thing">
                  <a href="/categories/JavaScript/" itemprop="url" rel="index">
                    <span itemprop="name">JavaScript</span>
                  </a>
                </span>

                
                

              
            </span>
          

          
            
              <span class="post-comments-count">
                &nbsp; | &nbsp;
                <a href="/2014/03/07/01-js-初识/#comments" itemprop="discussionUrl">
                  <span class="post-comments-count ds-thread-count" data-thread-key="2014/03/07/01-js-初识/" itemprop="commentsCount"></span>
                </a>
              </span>
            
          

          

          

          

          
        </div>
      </header>
    


    <div class="post-body" itemprop="articleBody">

      
      

      
        
          
          ECMAScript &#x662F;&#x4E00;&#x79CD;&#x7531; Ecma &#x56FD;&#x9645;&#x524D;&#x8EAB;&#x4E3A;&#x6B27;&#x6D32;&#x8BA1;&#x7B97;&#x673A;&#x5236;&#x9020;&#x5546;&#x534F;&#x4F1A;,&#x82F1;&#x6587;&#x540D;&#x79F0;&#x662F;European Computer Manufacturers Association&#xFF0C;&#x5236;&#x5B9A;&#x7684;&#x6807;&#x51C6;&#x3002; JavaScript &#x662F;&#x7531;&#x516C;&#x53F8;&#x5F00;&#x53D1;&#x800C;&#x6210;&#x7684;&#xFF0C;&#x516C;&#x53F8;&#x5F00;&#x53D1;&#x800C;&#x6210;&#x7684;&#x4E00;&#x5B9A;&#x662F;&#x6709;&#x4E00;&#x4E9B;&#x95EE;&#x9898;&#xFF0C;&#x4E0D;&#x4FBF;&#x4E8E;&#x5176;&#x4ED6;&#x7684;&#x516C;&#x53F8;&#x62D3;&#x5C55;&#x548C;&#x4F7F;&#x7528;&#x3002;&#x6240;&#x4EE5;&#x6B27;&#x6D32;&#x7684;&#x8FD9;&#x4E2A;ECMA&#x7684;&#x7EC4;&#x7EC7;&#xFF0C;&#x7275;&#x5934;&#x5236;&#x5B9A; JavaScript &#x7684;&#x6807;&#x51C6;&#xFF0C;&#x53D6;&#x540D;&#x4E3A; ECMAScript&#x3002;&#x7B80;&#x5355;&#x6765;&#x8BF4; ECMAScript &#x4E0D;&#x662F;&#x4E00;&#x95E8;&#x8BED;&#x8A00;&#xFF0C;&#x800C;&#x662F;&#x4E00;&#x4E2A;&#x6807;&#x51C6;
          ...

          <div class="post-more-link text-center">
            <a class="btn" href="/2014/03/07/01-js-初识/#more" rel="contents">
              Read more &raquo;
            </a>
          </div>
        
      
    </div>

    <div>
      
    </div>

    <div>
      
    </div>

    <footer class="post-footer">
      

      

      
      
        <div class="post-eof"></div>
      
    </footer>
  </article>


    
      

  
  

  
  
  

  <article class="post post-type-normal " itemscope itemtype="//schema.org/Article">

    
      <header class="post-header">

        
        
          <h1 class="post-title" itemprop="name headline">
            
            
              
                
                <a class="post-title-link" href="/2013/09/17/HTML元素分类、伪类、背景图片/" itemprop="url">
                  HTML元素分类、伪类、背景图片
                </a>
              
            
          </h1>
        

        <div class="post-meta">
          <span class="post-time">
            <span class="post-meta-item-icon">
              <i class="fa fa-calendar-o"></i>
            </span>
            <span class="post-meta-item-text">Posted on</span>
            <time itemprop="dateCreated" datetime="2013-09-17T20:42:33+08:00" content="2013-09-17">
              2013-09-17
            </time>
          </span>

          

          
            
              <span class="post-comments-count">
                &nbsp; | &nbsp;
                <a href="/2013/09/17/HTML元素分类、伪类、背景图片/#comments" itemprop="discussionUrl">
                  <span class="post-comments-count ds-thread-count" data-thread-key="2013/09/17/HTML元素分类、伪类、背景图片/" itemprop="commentsCount"></span>
                </a>
              </span>
            
          

          

          

          

          
        </div>
      </header>
    


    <div class="post-body" itemprop="articleBody">

      
      

      
        
          
          CSS Cascading style sheets&#x5199;&#x6CD5;
&#x5185;&#x5D4C;&#x5F0F;
&#x5916;&#x94FE;&#x5F0F;

1&lt;link rel=&#x201D;stylesheet&#x201D; herf=&#x201D;1.css&#x201D;&gt;

&#x884C;&#x5185;&#x6837;&#x5F0F;

&#x4E09;&#x79CD;&#x6837;&#x5F0F;&#x5199;&#x6CD5;&#x7684;&#x533A;&#x522B;
&#x5185;&#x5D4C;&#x6837;&#x5F0F;&#x8868;&#xFF1A;
&#x5F71;&#x54CD;&#x8303;&#x56F4;&#x9650;&#x4E8E;&#x5F53;&#x524D;&#x9875;&#x9762;&#xFF0C;&#x5176;&#x4ED6;&#x9875;&#x9762;&#x65E0;&#x6548;&#xFF0C;&#x4E0D;&#x80FD;&#x771F;&#x6B63;&#x5B9E;&#x73B0;&#x7ED3;&#x6784;&#x548C;&#x8868;&#x73B0;&#x89E3;&#x8026;


&#x5916;&#x94FE;&#x6837;&#x5F0F;&#x8868;
&#x5F71;&#x54CD;&#x8303;&#x56F4;&#x5927;&#xFF0C;&#x662F;&#x6574;&#x4E2A;&#x7AD9;&#x70B9;&#xFF0C;&#x5B9E;&#x73B0;&#x771F;&#x6B63;&#x7684;&#x7ED3;&#x6784;&#x8868;&#x73B0;&#x5206;&#x79BB;


&#x884C;&#x5185;&#x6837;&#x5F0F;&#x8868;&#xFF1A;
&#x4EC5;&#x9650;&#x4E8E;&#x5F53;&#x524D;&#x6807;&#x7B7E;&#xFF0C;&#x4F5C;&#x7528;&#x8303;&#x56F4;&#x5C0F;&#x3002;&#x7ED3;&#x6784;&#x548C;&#x8868;&#x73
          ...

          <div class="post-more-link text-center">
            <a class="btn" href="/2013/09/17/HTML元素分类、伪类、背景图片/#more" rel="contents">
              Read more &raquo;
            </a>
          </div>
        
      
    </div>

    <div>
      
    </div>

    <div>
      
    </div>

    <footer class="post-footer">
      

      

      
      
        <div class="post-eof"></div>
      
    </footer>
  </article>


    
      

  
  

  
  
  

  <article class="post post-type-normal " itemscope itemtype="//schema.org/Article">

    
      <header class="post-header">

        
        
          <h1 class="post-title" itemprop="name headline">
            
            
              
                
                <a class="post-title-link" href="/2013/09/10/CSS样式表、选择器-md/" itemprop="url">
                  CSS样式表、CSS选择器
                </a>
              
            
          </h1>
        

        <div class="post-meta">
          <span class="post-time">
            <span class="post-meta-item-icon">
              <i class="fa fa-calendar-o"></i>
            </span>
            <span class="post-meta-item-text">Posted on</span>
            <time itemprop="dateCreated" datetime="2013-09-10T22:12:03+08:00" content="2013-09-10">
              2013-09-10
            </time>
          </span>

          

          
            
              <span class="post-comments-count">
                &nbsp; | &nbsp;
                <a href="/2013/09/10/CSS样式表、选择器-md/#comments" itemprop="discussionUrl">
                  <span class="post-comments-count ds-thread-count" data-thread-key="2013/09/10/CSS样式表、选择器-md/" itemprop="commentsCount"></span>
                </a>
              </span>
            
          

          

          

          

          
        </div>
      </header>
    


    <div class="post-body" itemprop="articleBody">

      
      

      
        
          
          &#x6837;&#x5F0F;&#x8868;&#x7684;&#x4E66;&#x5199;&#x4F4D;&#x7F6E;&#x5199;&#x5728; &lt;head&gt;&lt;/head&gt; &#x4E2D;, &#x6837;&#x5F0F;&#xFF1A;&#x9009;&#x62E9;&#x5668;{&#x5C5E;&#x6027;:&#x503C;;&#x5C5E;&#x6027;:&#x503C;; }
1234567&lt;head&gt;    &lt;meta charset=&quot;UTF-8&quot;&gt;    &lt;title&gt;&#x6837;&#x5F0F;&#x8868;&#x5199;&#x6CD5;&lt;/title&gt;    &lt;style type=&quot;texr/css&quot;&gt;      &#x6837;&#x5F0F;&#x8868;&#x5185;&#x5BB9;    &lt;/style&gt;&lt;/head&gt;
&#x6837;&#x5F0F;&#x8868;&#x7684;&#x5E38;&#x89C1;&#x5C5E;&#x6027;
width  &#x5BBD;&#x5EA6;  width:200px;
height  &#x9AD8;&#x5EA6;  height:200px;
background-color &#x80CC;&#x666F;&#x8272; background-color:red;
font-size  &#x6587;&#x5B57;&#x5927;&#x5C0F; font-size:20px;
color  &#x6587;&#x672C;&#x989C;&#x8272;(&#x524D;&#x666F;&#x8272;)  color:yellow;
text-align  &#x5185;&#x5BB9;&#x7684;&#x6C34;&#x5E73;&#x5BF9;&#x9F50;&#x65B9;&#x5F0F;  text-align:left|center|right
text-indent  &#x9996;&#x884C;&#x7F29;&#x8FDB;  text-indent:2em;
          ...

          <div class="post-more-link text-center">
            <a class="btn" href="/2013/09/10/CSS样式表、选择器-md/#more" rel="contents">
              Read more &raquo;
            </a>
          </div>
        
      
    </div>

    <div>
      
    </div>

    <div>
      
    </div>

    <footer class="post-footer">
      

      

      
      
        <div class="post-eof"></div>
      
    </footer>
  </article>


    
      

  
  

  
  
  

  <article class="post post-type-normal " itemscope itemtype="//schema.org/Article">

    
      <header class="post-header">

        
        
          <h1 class="post-title" itemprop="name headline">
            
            
              
                
                <a class="post-title-link" href="/2013/09/05/HTML表格、表单、标签语义化/" itemprop="url">
                  HTML表格、表单、标签语义化
                </a>
              
            
          </h1>
        

        <div class="post-meta">
          <span class="post-time">
            <span class="post-meta-item-icon">
              <i class="fa fa-calendar-o"></i>
            </span>
            <span class="post-meta-item-text">Posted on</span>
            <time itemprop="dateCreated" datetime="2013-09-05T23:22:15+08:00" content="2013-09-05">
              2013-09-05
            </time>
          </span>

          

          
            
              <span class="post-comments-count">
                &nbsp; | &nbsp;
                <a href="/2013/09/05/HTML表格、表单、标签语义化/#comments" itemprop="discussionUrl">
                  <span class="post-comments-count ds-thread-count" data-thread-key="2013/09/05/HTML表格、表单、标签语义化/" itemprop="commentsCount"></span>
                </a>
              </span>
            
          

          

          

          

          
        </div>
      </header>
    


    <div class="post-body" itemprop="articleBody">

      
      

      
        
          
          HTML5&#x6807;&#x7B7E;&#x7ED3;&#x6784;sublime &#x5FEB;&#x6377;&#x952E; !+tab &#x53EF;&#x4EE5;&#x5199;&#x6210;HTML5&#x7ED3;&#x6784;
&#x5B57;&#x7B26;&#x7F16;&#x7801;
ASCLL 
ansi 
unicode 
GBK 
GB2312(z&#x4E2D;&#x6587;&#x7B80;&#x4F53;) 
BIG5(&#x53EA;&#x652F;&#x6301;&#x7E41;&#x4F53;&#x5B57;) 
UTF-8(&#x56FD;&#x9645;&#x901A;&#x7528;&#x7F16;&#x7801;)

meta&#x6807;&#x7B7E;&#x6807;&#x7B7E;&#x8BF4;&#x660E;123456789&lt;!--&#x7F16;&#x7801;--&gt;&lt;meta charset=&quot;utf-8&quot;&gt;&lt;!--&#x5173;&#x952E;&#x5B57;--&gt;&lt;meta name=&quot;keywords&quot; content=&quot;java&#x57F9;&#x8BAD;, ios&quot;&gt;&lt;!--name &#x9875;&#x9762;&#x91CC;&#x9762;&#x7684;&#x5173;&#x952E;&#x8BCD; content &#x91CC;&#x9762;&#x662F;&#x7ED9;SEO&#x7528;&#x7684;--&gt;&lt;!--&#x7F51;&#x9875;&#x63CF;&#x8FF0;--&gt;&lt;meta name=&quot;description&quot; content=&quot;&#x7ED9;&#x641C;&#x7D22;&#x5F15;&#x64CE;&#x770B;&#x7684;&#xFF0C;&#x53EF;&#x4EE5;&#x770B;&#x5F97;&#x5230;&#x7684;&#x5185;&#x5BB9;&quot;&gt;&lt;!--&#x7F51;&#x9875;&#x91
          ...

          <div class="post-more-link text-center">
            <a class="btn" href="/2013/09/05/HTML表格、表单、标签语义化/#more" rel="contents">
              Read more &raquo;
            </a>
          </div>
        
      
    </div>

    <div>
      
    </div>

    <div>
      
    </div>

    <footer class="post-footer">
      

      

      
      
        <div class="post-eof"></div>
      
    </footer>
  </article>


    
      

  
  

  
  
  

  <article class="post post-type-normal " itemscope itemtype="//schema.org/Article">

    
      <header class="post-header">

        
        
          <h1 class="post-title" itemprop="name headline">
            
            
              
                
                <a class="post-title-link" href="/2013/09/02/初识HTML/" itemprop="url">
                  初识HTML
                </a>
              
            
          </h1>
        

        <div class="post-meta">
          <span class="post-time">
            <span class="post-meta-item-icon">
              <i class="fa fa-calendar-o"></i>
            </span>
            <span class="post-meta-item-text">Posted on</span>
            <time itemprop="dateCreated" datetime="2013-09-02T20:47:47+08:00" content="2013-09-02">
              2013-09-02
            </time>
          </span>

          

          
            
              <span class="post-comments-count">
                &nbsp; | &nbsp;
                <a href="/2013/09/02/初识HTML/#comments" itemprop="discussionUrl">
                  <span class="post-comments-count ds-thread-count" data-thread-key="2013/09/02/初识HTML/" itemprop="commentsCount"></span>
                </a>
              </span>
            
          

          

          

          

          
        </div>
      </header>
    


    <div class="post-body" itemprop="articleBody">

      
      

      
        
          
          HTML&#x57FA;&#x7840;
Hyper text markup language  &#x8D85;&#x6587;&#x672C;&#x6807;&#x8BB0;&#x8BED;&#x8A00;

&#x8D85;&#x6587;&#x672C;&#xFF1A;&#x7F51;&#x9875;&#x4E2D;&#x53EF;&#x4EE5;&#x5305;&#x542B;&#x56FE;&#x7247;&#x3001;&#x6587;&#x5B57;&#x3001;&#x89C6;&#x9891;&#x3001;&#x97F3;&#x9891;&#x3001;&#x6587;&#x672C;&#x6846;&#x7B49;&#x5143;&#x7D20;; 
&#x6807;&#x8BB0;&#xFF08;&#x6807;&#x7B7E;&#xFF09;&#xFF1A;&#x5728;&#x7F51;&#x9875;&#x4E2D;&#x7ED9;&#x7F51;&#x9875;&#x5143;&#x7D20;&#x505A;&#x6807;&#x8BB0;&#xFF08;&#x53F3;&#x952E;&#xFF0C;&#x67E5;&#x770B;&#x7F51;&#x9875;&#x6E90;&#x4EE3;&#x7801;&#xFF09;
&#x8D85;&#x94FE;&#x63A5;&#xFF1A; &#x5B9E;&#x73B0;&#x7F51;&#x9875;&#x4E4B;&#x95F4;&#x7684;&#x8DF3;&#x8F6C;&#xFF0C;

Sublime&#x5E38;&#x7528;&#x5FEB;&#x6377;&#x952E;
Windows+D &#x8FD4;&#x56DE;&#x684C;&#x9762;
Windows+R &#x8FD0;&#x884C;dos  
Windows+E &#x6253;&#x5F00;&#x6211;&#x7684;&#x7535;&#x8111; 
Alt+Tab &#x5207;&#x6362;&#x8F6F;&#x4EF6;   
Ctrl+Tab &#x8F6F;&#x4EF6;&#x5185;&#x90E8;&#x6587;&#x6863;&#x548C;&#
          ...

          <div class="post-more-link text-center">
            <a class="btn" href="/2013/09/02/初识HTML/#more" rel="contents">
              Read more &raquo;
            </a>
          </div>
        
      
    </div>

    <div>
      
    </div>

    <div>
      
    </div>

    <footer class="post-footer">
      

      

      
      
        <div class="post-eof"></div>
      
    </footer>
  </article>


    
  </section>

  
  <nav class="pagination">
    <a class="extend prev" rel="prev" href="/page/6/"><i class="fa fa-angle-left"></i></a><a class="page-number" href="/">1</a><span class="space">&hellip;</span><a class="page-number" href="/page/6/">6</a><span class="page-number current">7</span>
  </nav>



          </div>
          


          

        </div>
        
          
  
  <div class="sidebar-toggle">
    <div class="sidebar-toggle-line-wrap">
      <span class="sidebar-toggle-line sidebar-toggle-line-first"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-middle"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-last"></span>
    </div>
  </div>

  <aside id="sidebar" class="sidebar">
    <div class="sidebar-inner">

      

      

      <section class="site-overview sidebar-panel  sidebar-panel-active ">
        <div class="site-author motion-element" itemprop="author" itemscope itemtype="//schema.org/Person">
          <img class="site-author-image" itemprop="image"
               src="/images/photo.jpg"
               alt="Hongqin Ma" />
          <p class="site-author-name" itemprop="name">Hongqin Ma</p>
          <p class="site-description motion-element" itemprop="description">Spell at all costs， to rush you in the future. </p>
        </div>
        <nav class="site-state motion-element">
          <div class="site-state-item site-state-posts">
            <a href="/archives">
              <span class="site-state-item-count">68</span>
              <span class="site-state-item-name">posts</span>
            </a>
          </div>

          
            <div class="site-state-item site-state-categories">
              <a href="/categories">
                <span class="site-state-item-count">16</span>
                <span class="site-state-item-name">categories</span>
              </a>
            </div>
          

          
            <div class="site-state-item site-state-tags">
              <a href="/tags">
                <span class="site-state-item-count">57</span>
                <span class="site-state-item-name">tags</span>
              </a>
            </div>
          

        </nav>

        

        <div class="links-of-author motion-element">
          
            
              <span class="links-of-author-item">
                <a href="https://github.com/HongqinMa" target="_blank" title="GitHub">
                  
                    <i class="fa fa-fw fa-github"></i>
                  
                  GitHub
                </a>
              </span>
            
              <span class="links-of-author-item">
                <a href="https://twitter.com/HongqinMa" target="_blank" title="Twitter">
                  
                    <i class="fa fa-fw fa-twitter"></i>
                  
                  Twitter
                </a>
              </span>
            
              <span class="links-of-author-item">
                <a href="https://www.facebook.com/profile.php?id=100006581058735" target="_blank" title="Facebook">
                  
                    <i class="fa fa-fw fa-facebook"></i>
                  
                  Facebook
                </a>
              </span>
            
              <span class="links-of-author-item">
                <a href="http://www.zhihu.com/people/HirakuMa" target="_blank" title="知乎">
                  
                    <i class="fa fa-fw fa-share-alt"></i>
                  
                  知乎
                </a>
              </span>
            
          
        </div>

        
        

        
        
          <div class="links-of-blogroll motion-element links-of-blogroll-inline">
            <div class="links-of-blogroll-title">
              <i class="fa  fa-fw fa-globe"></i>
              Links
            </div>
            <ul class="links-of-blogroll-list">
              
                <li class="links-of-blogroll-item">
                  <a href="http://www.cnblogs.com/rubylouvre/" title="司徒正美" target="_blank">司徒正美</a>
                </li>
              
                <li class="links-of-blogroll-item">
                  <a href="http://www.cnblogs.com/sanshi/" title="三生石上" target="_blank">三生石上</a>
                </li>
              
                <li class="links-of-blogroll-item">
                  <a href="http://www.cnblogs.com/TomXu/" title="汤姆大叔" target="_blank">汤姆大叔</a>
                </li>
              
                <li class="links-of-blogroll-item">
                  <a href="http://gold.xitu.io/" title="掘金" target="_blank">掘金</a>
                </li>
              
                <li class="links-of-blogroll-item">
                  <a href="https://segmentfault.com/" title="segmentfault" target="_blank">segmentfault</a>
                </li>
              
                <li class="links-of-blogroll-item">
                  <a href="http://www.jianshu.com/users/1cbb94e5ed4d/latest_articles" title="简书" target="_blank">简书</a>
                </li>
              
                <li class="links-of-blogroll-item">
                  <a href="https://home.cnblogs.com/" title="博客园" target="_blank">博客园</a>
                </li>
              
                <li class="links-of-blogroll-item">
                  <a href="https://www.awesomes.cn/" title="Awesomes" target="_blank">Awesomes</a>
                </li>
              
            </ul>
          </div>
        

      </section>

      

    </div>
  </aside>


        
      </div>
    </main>

    <footer id="footer" class="footer">
      <div class="footer-inner">
        <div class="copyright" >
  
  &copy; 
  <span itemprop="copyrightYear">2016</span>
  <span class="with-love">
    <i class="fa fa-heart"></i>
  </span>
  <span class="author" itemprop="copyrightHolder">Hongqin Ma</span>
</div>

<div class="powered-by">
  Powered by <a class="theme-link" href="https://hexo.io">Hexo</a>
</div>

<div class="theme-info">
  Theme -
  <a class="theme-link" href="https://github.com/iissnan/hexo-theme-next">
    NexT.Muse
  </a>
</div>

<script async src="https://dn-lbstatics.qbox.me/busuanzi/2.3/busuanzi.pure.mini.js"></script>
<span id="busuanzi_container_site_pv">
    &nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;Page Views: <span id="busuanzi_value_site_pv"></span> 
</span>

        

<div class="busuanzi-count">

  <script async src="https://dn-lbstatics.qbox.me/busuanzi/2.3/busuanzi.pure.mini.js"></script>

  
    <span class="site-uv"><i class="fa fa-user"></i><span class="busuanzi-value" id="busuanzi_value_site_uv"></span></span>
  

  
    <span class="site-pv"><i class="fa fa-eye"></i><span class="busuanzi-value" id="busuanzi_value_site_pv"></span></span>
  
  
</div>



        
      </div>
    </footer>

    <div class="back-to-top">
      <i class="fa fa-arrow-up"></i>
    </div>
  </div>

  

<script type="text/javascript">
  if (Object.prototype.toString.call(window.Promise) !== '[object Function]') {
    window.Promise = null;
  }
</script>









  



  
  <script type="text/javascript" src="/lib/jquery/index.js?v=2.1.3"></script>

  
  <script type="text/javascript" src="/lib/fastclick/lib/fastclick.min.js?v=1.0.6"></script>

  
  <script type="text/javascript" src="/lib/jquery_lazyload/jquery.lazyload.js?v=1.9.7"></script>

  
  <script type="text/javascript" src="/lib/velocity/velocity.min.js?v=1.2.1"></script>

  
  <script type="text/javascript" src="/lib/velocity/velocity.ui.min.js?v=1.2.1"></script>

  
  <script type="text/javascript" src="/lib/fancybox/source/jquery.fancybox.pack.js?v=2.1.5"></script>


  


  <script type="text/javascript" src="/js/src/utils.js?v=5.0.2"></script>

  <script type="text/javascript" src="/js/src/motion.js?v=5.0.2"></script>



  
  

  

  


  <script type="text/javascript" src="/js/src/bootstrap.js?v=5.0.2"></script>



  

  
    
  

  <script type="text/javascript">
    var duoshuoQuery = {short_name:"Hiraku"};
    (function() {
      var ds = document.createElement('script');
      ds.type = 'text/javascript';ds.async = true;
      ds.id = 'duoshuo-script';
      ds.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') + '//static.duoshuo.com/embed.js';
      ds.charset = 'UTF-8';
      (document.getElementsByTagName('head')[0]
      || document.getElementsByTagName('body')[0]).appendChild(ds);
    })();
  </script>

  
    
    <script src="/lib/ua-parser-js/dist/ua-parser.min.js?v=0.7.9"></script>
    <script src="/js/src/hook-duoshuo.js"></script>
  






  
  

  

  

  
  <script src="https://cdn1.lncld.net/static/js/av-core-mini-0.6.1.js"></script>
  <script>AV.initialize("PPmoIQxeu8Sd21h6Tl9TthNx-gzGzoHsz", "rTvbY2H7DvWzRipiBwn72RQ4");</script>
  <script>
    function showTime(Counter) {
      var query = new AV.Query(Counter);
      var entries = [];
      var $visitors = $(".leancloud_visitors");

      $visitors.each(function () {
        entries.push( $(this).attr("id").trim() );
      });

      query.containedIn('url', entries);
      query.find()
        .done(function (results) {
          var COUNT_CONTAINER_REF = '.leancloud-visitors-count';

          if (results.length === 0) {
            $visitors.find(COUNT_CONTAINER_REF).text(0);
            return;
          }

          for (var i = 0; i < results.length; i++) {
            var item = results[i];
            var url = item.get('url');
            var time = item.get('time');
            var element = document.getElementById(url);

            $(element).find(COUNT_CONTAINER_REF).text(time);
          }
          for(var i = 0; i < entries.length; i++) {
            var url = entries[i];
            var element = document.getElementById(url);
            var countSpan = $(element).find(COUNT_CONTAINER_REF);
            if( countSpan.text() == '') {
              countSpan.text(0);
            }
          }
        })
        .fail(function (object, error) {
          console.log("Error: " + error.code + " " + error.message);
        });
    }

    function addCount(Counter) {
      var $visitors = $(".leancloud_visitors");
      var url = $visitors.attr('id').trim();
      var title = $visitors.attr('data-flag-title').trim();
      var query = new AV.Query(Counter);

      query.equalTo("url", url);
      query.find({
        success: function(results) {
          if (results.length > 0) {
            var counter = results[0];
            counter.fetchWhenSave(true);
            counter.increment("time");
            counter.save(null, {
              success: function(counter) {
                var $element = $(document.getElementById(url));
                $element.find('.leancloud-visitors-count').text(counter.get('time'));
              },
              error: function(counter, error) {
                console.log('Failed to save Visitor num, with error message: ' + error.message);
              }
            });
          } else {
            var newcounter = new Counter();
            /* Set ACL */
            var acl = new AV.ACL();
            acl.setPublicReadAccess(true);
            acl.setPublicWriteAccess(true);
            newcounter.setACL(acl);
            /* End Set ACL */
            newcounter.set("title", title);
            newcounter.set("url", url);
            newcounter.set("time", 1);
            newcounter.save(null, {
              success: function(newcounter) {
                var $element = $(document.getElementById(url));
                $element.find('.leancloud-visitors-count').text(newcounter.get('time'));
              },
              error: function(newcounter, error) {
                console.log('Failed to create');
              }
            });
          }
        },
        error: function(error) {
          console.log('Error:' + error.code + " " + error.message);
        }
      });
    }

    $(function() {
      var Counter = AV.Object.extend("Counter");
      if ($('.leancloud_visitors').length == 1) {
        addCount(Counter);
      } else if ($('.post-title-link').length > 1) {
        showTime(Counter);
      }
    });
  </script>



  

  

  
  
  <!-- custom analytics part create by xiamo -->
<script src="https://cdn1.lncld.net/static/js/av-core-mini-0.6.1.js"></script>
<script>AV.initialize("PPmoIQxeu8Sd21h6Tl9TthNx-gzGzoHsz", "rTvbY2H7DvWzRipiBwn72RQ4");</script>
<script>
function showTime(Counter) {
  var query = new AV.Query(Counter);
  $(".leancloud_visitors").each(function() {
    var url = $(this).attr("id").trim();
    query.equalTo("url", url);
    query.find({
      success: function(results) {
        if (results.length == 0) {
          var content = '0 ' + $(document.getElementById(url)).text();
          $(document.getElementById(url)).text(content);
          return;
        }
        for (var i = 0; i < results.length; i++) {
          var object = results[i];
          var content = object.get('time') + ' ' + $(document.getElementById(url)).text();
          $(document.getElementById(url)).text(content);
        }
      },
      error: function(object, error) {
        console.log("Error: " + error.code + " " + error.message);
      }
    });

  });
}

function addCount(Counter) {
  var Counter = AV.Object.extend("Counter");
  url = $(".leancloud_visitors").attr('id').trim();
  title = $(".leancloud_visitors").attr('data-flag-title').trim();
  var query = new AV.Query(Counter);
  query.equalTo("url", url);
  query.find({
    success: function(results) {
      if (results.length > 0) {
        var counter = results[0];
        counter.fetchWhenSave(true);
        counter.increment("time");
        counter.save(null, {
          success: function(counter) {
            var content =  counter.get('time') + ' ' + $(document.getElementById(url)).text();
            $(document.getElementById(url)).text(content);
          },
          error: function(counter, error) {
            console.log('Failed to save Visitor num, with error message: ' + error.message);
          }
        });
      } else {
        var newcounter = new Counter();
        newcounter.set("title", title);
        newcounter.set("url", url);
        newcounter.set("time", 1);
        newcounter.save(null, {
          success: function(newcounter) {
              console.log("newcounter.get('time')="+newcounter.get('time'));
            var content = newcounter.get('time') + ' ' + $(document.getElementById(url)).text();
            $(document.getElementById(url)).text(content);
          },
          error: function(newcounter, error) {
            console.log('Failed to create');
          }
        });
      }
    },
    error: function(error) {
      console.log('Error:' + error.code + " " + error.message);
    }
  });
}
$(function() {
  var Counter = AV.Object.extend("Counter");
  if ($('.leancloud_visitors').length == 1) {
    addCount(Counter);
  } else if ($('.post-title-link').length > 1) {
    showTime(Counter);
  }
}); 
</script>

  
</body>
</html>
